﻿@model Project_veilingsite.Models.LoginModel
@{
    ViewBag.Title = "Inloggen";
}

<div id="content">
<h1>Inloggen</h1>
    @using (Html.BeginForm(new { ReturnUrl = ViewBag.ReturnUrl })) {
        @Html.AntiForgeryToken()
        @Html.ValidationSummary(true)

        <table>
            <tr>
                <td>@Html.LabelFor(m => m.UserName)</td>
                <td>@Html.TextBoxFor(m => m.UserName)</td>
                <td>@Html.ValidationMessageFor(m => m.UserName)</td>
            </tr>
            <tr>
                <td>@Html.LabelFor(m => m.Password)</td>
                <td>@Html.PasswordFor(m => m.Password)</td>
                <td>@Html.ValidationMessageFor(m => m.Password)</td>
            </tr>
            <tr>
                <td colspan="3"><input type="submit" value="Inloggen" /></td>
            </tr>
        </table>

        <p>
            @Html.ActionLink("Registreer", "Register", null, new { @class = "mail" }) indien u geen account hebt.<br />
            @Html.ActionLink("Wachtwoord vergeten?", "ForgetPassword", null, new { @class = "mail" })
        </p>
    }
</div>

@section Scripts {
    @*@Scripts.Render("~/bundles/jqueryval")*@
}

<div style="clear:both;"></div>